<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>盒子模型</title>
    <style>
         .demo{
        background-color: aqua;
        width: 100px;
        height: 100px;
        border-style: solid;
        border-width: 5px;
        /* border-left: 50px dashed brown; */
        border-color: beige;
        padding: 60px;
        margin:50px;
         }
         .border-demo{
            background-color: blue;
            display: inline-block;
            border: 5px dashed yellowgreen;
            padding: 20px;
            margin: 60px;
         }
    </style>
   
</head>
<body>
    <div class="demo">这是demo</div>
    <div class="border-demo">这是border-demo</div>
</body>
</html>